package com.peter.netty.io.bio.tomcat.servlet;

import com.peter.netty.io.bio.tomcat.http.XDRequest;
import com.peter.netty.io.bio.tomcat.http.XDResponse;
import com.peter.netty.io.bio.tomcat.http.XDServlet;

/**
 * @Auther: 肖冬
 * @Date: 2020/9/14 21:12
 * @Description:
 */
public class SecondServlet extends XDServlet {
    @Override
    protected void doPost(XDRequest request, XDResponse response) throws Exception {
        this.doPost(request,response);
    }

    @Override
    protected void doGet(XDRequest request, XDResponse response) throws Exception {
        response.write("this is second servlet");
    }
}
